package com.zw.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("权限申请请求dto")
public class PermApplyDto {

    /**
     * 申请角色id
     */
    @ApiModelProperty(value = "申请角色ID")
    @NotNull(message = "申请角色id不能为空")
    private Long applyRoleId;
    /**
     * 申请描述
     */
    @ApiModelProperty(value = "申请描述")
    private String applyDesc;
}
